<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title> new document </title>
  <script type="text/javascript" src="RIAClient.js"></script>
 </head>

 <body>
   <div id="test">
      <p>123</p>
      <p>456</p>
      <p>789</p>
   </div>
 </body>
 <script type="text/javascript">
 var _xml = new JXML();
 alert(document.XMLDocuemnt)
 alert(_xml.selectSingleNode(document.documentElement, "body/div[@id='test']"));
 </script>
</html>
